package entity.state.user;

import entity.User;

public class ActiveState implements UserState{
	
    public ActiveState() {
    }

    @Override
    public String toString() {
        return "active";
    }

	@Override
	public void blockUser(User user) {
		user.setUserState(new BlockedState());
		
	}

	@Override
	public void activateUser(User user) {
		user.setUserState(new ActiveState());
		
	}

	@Override
	public void blackList(User user) {
		user.setUserState(new BlackListedState());
		
	}

}
